package com.yanfan.ccapicode.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.yanfan.ccapicode.enums.ThirdPartyCloudEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ccapi_user_authorize")
public class UserAuthorizeDO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String userId;

    private Long sysUserId;

    @TableField(exist = false)
    private String sysUserName;

    private String thirdInfo;

    private ThirdPartyCloudEnum thirdPartyCloud;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String clientId;

}
